package {
	import classes.PrettyPrint;
	
	import flash.display.Sprite;
	
	public class test2 extends Sprite {
		public function test2() {
			var o:Object = {
				key1: "value1", 
				key2: "value2",  
				key3: {
					subKey1: "svalue1", 
					subKey2: "svalue2",
					key4: {
						subKey3: "svalue3", 
						subKey4: "svalue4"
					},
					key5: function():void {}
				} 
			};  
			
			trace(PrettyPrint.prettyPrint(o));
			
			/*
			key1: value1
			key3:
				key5: function Function() {}
				key4:
					subKey4: svalue4
					subKey3: svalue3
				subKey1: svalue1
				subKey2: svalue2
			key2: value2
			*/
		}
	}
}